package com.jhgk.jhcee.auth.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class Order implements Serializable {
    @ApiModelProperty(value = "订单ID")
    private Integer orderId;

    private String uuid;

    @ApiModelProperty(value = "所属商品uuid")
    private String goodsUuid;

    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "服务端交易号")
    private String orderNo;

    @ApiModelProperty(value = "支付端交易号")
    private String tradeNo;

    private Integer payPoint;

    private BigDecimal convertMoney;

    private BigDecimal payBalance;

    @ApiModelProperty(value = "交易额 单位：元")
    private BigDecimal money;

    @ApiModelProperty(value = "支付类型：1-微信 2-支付宝 3-银联 4-余额 5-现金")
    private Byte payMethod;

    @ApiModelProperty(value = "订单类型 1-专家服务 2-视频 3-VIP会员")
    private Integer type;

    @ApiModelProperty(value = "状态： 0-未付款 1-已付款 2-失败 3-取消(申请退款) 4-已退款")
    private Byte status;

    private Byte afterStatus;

    @ApiModelProperty(value = "退款交易号")
    private String batchNo;

    @ApiModelProperty(value = "订单支付时间，订单日期 如: 2016-07-08 00:00:00 的时间戳")
    private Date orderDate;

    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    @ApiModelProperty(value = "专家id")
    private Integer expertId;

    private Integer provinceId;

    @ApiModelProperty(value = "订单更新时间")
    private Date lastUpdate;

    private String title;

    private String content;

    private String imgUrl;

    @ApiModelProperty(value = "成绩创建次数")
    private Integer scoreCreateNumber;

    @ApiModelProperty(value = "备注")
    private String orderMark;

    @ApiModelProperty(value = "到期时间，有效期")
    private Date endTime;

    @ApiModelProperty(value = "产品购买时价格")
    private BigDecimal price;

    @ApiModelProperty(value = "二维码id")
    private Integer qrCodeId;

    private static final long serialVersionUID = 1L;

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getGoodsUuid() {
        return goodsUuid;
    }

    public void setGoodsUuid(String goodsUuid) {
        this.goodsUuid = goodsUuid;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
    }

    public Integer getPayPoint() {
        return payPoint;
    }

    public void setPayPoint(Integer payPoint) {
        this.payPoint = payPoint;
    }

    public BigDecimal getConvertMoney() {
        return convertMoney;
    }

    public void setConvertMoney(BigDecimal convertMoney) {
        this.convertMoney = convertMoney;
    }

    public BigDecimal getPayBalance() {
        return payBalance;
    }

    public void setPayBalance(BigDecimal payBalance) {
        this.payBalance = payBalance;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public Byte getPayMethod() {
        return payMethod;
    }

    public void setPayMethod(Byte payMethod) {
        this.payMethod = payMethod;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Byte getAfterStatus() {
        return afterStatus;
    }

    public void setAfterStatus(Byte afterStatus) {
        this.afterStatus = afterStatus;
    }

    public String getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo;
    }

    public Date getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(Date orderDate) {
        this.orderDate = orderDate;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Integer getExpertId() {
        return expertId;
    }

    public void setExpertId(Integer expertId) {
        this.expertId = expertId;
    }

    public Integer getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    public Date getLastUpdate() {
        return lastUpdate;
    }

    public void setLastUpdate(Date lastUpdate) {
        this.lastUpdate = lastUpdate;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public Integer getScoreCreateNumber() {
        return scoreCreateNumber;
    }

    public void setScoreCreateNumber(Integer scoreCreateNumber) {
        this.scoreCreateNumber = scoreCreateNumber;
    }

    public String getOrderMark() {
        return orderMark;
    }

    public void setOrderMark(String orderMark) {
        this.orderMark = orderMark;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getQrCodeId() {
        return qrCodeId;
    }

    public void setQrCodeId(Integer qrCodeId) {
        this.qrCodeId = qrCodeId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", orderId=").append(orderId);
        sb.append(", uuid=").append(uuid);
        sb.append(", goodsUuid=").append(goodsUuid);
        sb.append(", userId=").append(userId);
        sb.append(", orderNo=").append(orderNo);
        sb.append(", tradeNo=").append(tradeNo);
        sb.append(", payPoint=").append(payPoint);
        sb.append(", convertMoney=").append(convertMoney);
        sb.append(", payBalance=").append(payBalance);
        sb.append(", money=").append(money);
        sb.append(", payMethod=").append(payMethod);
        sb.append(", type=").append(type);
        sb.append(", status=").append(status);
        sb.append(", afterStatus=").append(afterStatus);
        sb.append(", batchNo=").append(batchNo);
        sb.append(", orderDate=").append(orderDate);
        sb.append(", createdTime=").append(createdTime);
        sb.append(", expertId=").append(expertId);
        sb.append(", provinceId=").append(provinceId);
        sb.append(", lastUpdate=").append(lastUpdate);
        sb.append(", title=").append(title);
        sb.append(", content=").append(content);
        sb.append(", imgUrl=").append(imgUrl);
        sb.append(", scoreCreateNumber=").append(scoreCreateNumber);
        sb.append(", orderMark=").append(orderMark);
        sb.append(", endTime=").append(endTime);
        sb.append(", price=").append(price);
        sb.append(", qrCodeId=").append(qrCodeId);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}